package com.baizhi.cmfz.service;

import com.baizhi.cmfz.entity.Consumer;

import java.util.List;
import java.util.Map;

public interface ConsumerService {

    public Map selectByPageConsumer(Integer page,Integer limit,String name);

    Map insertConsumer(Consumer consumer);

    Map updateConsumer(Consumer consumer);

    Consumer selectOneConsumer(Integer id);

    Map deleteConsumer(Integer id);

    Map updateFreeze(Integer id);

    List<Map> selectNumberConsumer();

    Map selectNumber();

    public  Map selectByDay();

    Map selectAllOrder();

    Map selectOrderAll();
}
